﻿using MediatR;
using Order.Api.Read.Dto.Order;
using Order.ErrorCode;

namespace Order.Api.Read.Application.Command
{
    /// <summary>
    /// 挂号订单分页查询命令
    /// </summary>
    public class RegistrationOrderPageCommand : IRequest<ApiPageIng<RegistrationOrderPageDto>>
    {
        /// <summary>
        /// 查询条件
        /// </summary>
        public RegistrationOrderQueryDto Query { get; set; } = new RegistrationOrderQueryDto();
    }

    /// <summary>
    /// 挂号订单详情查询命令
    /// </summary>
    public class RegistrationOrderDetailCommand : IRequest<RegistrationOrderDetailDto>
    {
        /// <summary>
        /// 挂号订单ID
        /// </summary>
        public int Id { get; set; }
    }
}
